/* 公共css样式 */

/* ==================
        初始化
 ==================== */
a {
    text-decoration: none;
}
/* ==================
        鼠标样式
 ==================== */
.vtk-cursor-pointer {
    cursor: pointer;
}
.vtk-cursor-not {
    cursor: not-allowed;
}
.vtk-cursor-default {
    cursor: default;
}

/* ==================
          内边距
 ==================== */
@for $i from 17 through 20 {
    .vtk-pa-#{$i} {
        padding: ($i * 4) px;
    }
    .vtk-px-#{$i} {
        padding: 0 ($i * 4) px;
    }
    .vtk-py-#{$i} {
        padding: ($i * 4) px 0;
    }
    .vtk-pl-#{$i} {
        padding-left: ($i * 4) px;
    }
    .vtk-pr-#{$i} {
        padding-right: ($i * 4) px;
    }
}

/* ==================
          外边距
 ==================== */
@for $i from 17 through 20 {
    .vtk-ma-#{$i} {
        margin: ($i * 4) px;
    }
    .vtk-mx-#{$i} {
        margin: 0 ($i * 4) px;
    }
    .vtk-my-#{$i} {
        margin: ($i * 4) px 0;
    }
    .vtk-ml-#{$i} {
        margin-left: ($i * 4) px;
    }
    .vtk-mr-#{$i} {
        margin-right: ($i * 4) px;
    }
}

/* ==================
        高度+宽度
 ==================== */
.vtk-height {
    height: 100%;
}
.vtk-width {
    width: 100%;
}
.vtk-wh {
    width: 100%;
    height: 100%;
}
.vtk-wh-v {
    width: 100vw;
    height: 100vh;
}
@for $i from 1 through 10 {
    .vtk-width-#{$i} {
        width: $i * 10%;
    }
}
.vtk-width-nav {
    max-width: 260px !important;
}
/* ==================
          颜色
 ==================== */
.vtk-white{
    background: white;
}
 .theme--dark.vtk-white{
     background: #1E1E1E;
 }
 //渐变色
.vtk-grad-blue {
    background: linear-gradient(226deg, #3eddff 0%, #008ef0 100%);
}
.vtk-grad-cyan {
    background: linear-gradient(226deg, #31e1c0 0%, #19a090 100%);
}
.vtk-grad-green {
    background: linear-gradient(226deg, #79dd43 0%, #00a23d 100%);
}
.vtk-grad-orange {
    background: linear-gradient(226deg, #ffc042 0%, #fa7414 100%);
}
.vtk-grad-yellow {
    background: linear-gradient(226deg, #ffdd33 0%, #faa700 100%);
}
.vtk-grad-red {
    background: linear-gradient(226deg, #ff7d7d 0%, #ca0000 100%);
}
.vtk-grad-indigo {
    background: linear-gradient(226deg, #00b0d6 0%, #000bc0 100%);
}

/* ==================
          文本
 ==================== */
@for $i from 5 through 30 {
    .vtk-size-#{$i} {
        font-size: ($i * 2) px;
    }
}
.vtk-text-indent {
    text-indent: 2em;
}
//文本超出隐藏并显示省略号
.text-overflow {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    word-break: break-all;
}
@for $i from 5 through 30 {
    .vtk-text-overflow-#{$i} {
        text-overflow: -o-ellipsis-lastline;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: $i;
        line-clamp: $i;
        -webkit-box-orient: vertical;
    }
}
/* ==================
        对齐方式
 ==================== */
.vtk-v-align-sub {
    vertical-align: sub;
}
.vtk-v-align-super {
    vertical-align: super;
}
.vtk-v-align-top {
    vertical-align: top;
}
.vtk-v-align-middle {
    vertical-align: middle;
}
.vtk-v-align-bottom {
    vertical-align: bottom;
}

/* ==================
        滚动条样式
 ==================== */
.vtk-scrollbar {
    overflow-x: hidden;
    overflow: hidden;
    overflow-y: scroll;
    &::-webkit-scrollbar {
        /*滚动条整体样式*/
        width: 4px; /*高宽分别对应横竖滚动条的尺寸*/
        height: 1px;
    }
    &::-webkit-scrollbar-thumb {
        /*滚动条里面小方块*/
        border-radius: 10px;
        background-color: rgb(212, 212, 212);
        background-image: -webkit-linear-gradient(
            45deg,
            rgba(255, 255, 255, 0) 25%,
            transparent 25%,
            transparent 50%,
            rgba(255, 255, 255, 0) 50%,
            rgba(255, 255, 255, 0) 75%,
            transparent 75%,
            transparent
        );
    }
    &::-webkit-scrollbar-track {
        /*滚动条里面轨道*/
        box-shadow: inset 0 0 5px rgba(0, 0, 0, 0);
        background: #ededed00;
        border-radius: 10px;
    }
}

/* ==================
          边框
 ==================== */
.vtk-border-dotted {
    border: rgb(228, 228, 228) 1px dotted;
}
.vtk-border-dashed {
    border: rgb(228, 228, 228) 1px dashed;
}
.vtk-border-solid {
    border: rgb(228, 228, 228) 1px solid;
}

/* ==================
          背景
 ==================== */
.vtk-shadow {
    box-shadow: #3333331a 1px 1px 8px !important;
}

/* ==================
          图片
 ==================== */

/* ==================
          头像
 ==================== */

/* ==================
          加载
 ==================== */

/* ==================
          列表
 ==================== */

/* ==================
         表单
 ==================== */

/* ==================
         模态窗口
 ==================== */

/* ==================
          步骤条
 ==================== */

/* 局部公用样式 */

/* 组件公共样式 */
